/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package library.control.db;

import java.util.ArrayList;
import java.util.List;
import library.book.Book;
import library.control.IControlBook;

/**
 *
 * @author MonStar
 */
public class DBControl implements IControlBook {

    private List<Book> books;

    @Override
    public List<Book> getListBooks() {
        books = new ArrayList<>();
        return books;
    }

    @Override
    public String getName() {
        return "data base";
    }

    @Override
    public List<Book> addBook(Book book) {
        return books;
    }

    @Override
    public List<Book> removeBook(Book book) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
